luci-compat: fix common cbi-page-actions position
authorFlorian Eckert <[email protected]>
Tue, 21 Jun 2022 14:37:28 +0000 (16:37 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 3 Apr 2023 11:45:03 +0000 (13:45 +0200)
With legacy applications, the common page actions "Save and Apply" are
not displayed correctly, so that they are not aligned on the right as
with javascript applications. To fix the alignment, the control-group
css class is removed.

This was determined with the application 'luci-app-nft-qos'
with the theme 'luci-theme-bootstrap'.

Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit a70c5705e476cf1325edceab29c15148c289f280)

modules/luci-compat/luasrc/view/cbi/footer.htm

index abcc47b92090c8dda21fe3a58cd865f7863d4bfc..c72102340f550a994763e95fa69f47a254479b1c 100644 (file)
@@ -8,7 +8,7 @@
        if pageaction and
           (display_back or display_skip or display_apply or display_save or display_reset)
        then
-               %><div class="cbi-page-actions control-group"><%
+               %><div class="cbi-page-actions"><%
 
                if display_back then
                        %><input class="btn cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" /> <%